'use strict';

const conn = require('../../libs/Conn');

module.exports = async function (params) {

    let querySql = `                       
                        SELECT
                            department_name AS dataType,
                            department_id AS value
                    
                        FROM
                            department_file 
                        WHERE
                            delete_sign = 1`;
    let rec = await conn(querySql);
    return {success: true, data: rec};
};